package cn.getech.data.development.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.getech.data.intelligence.common.utils.PageUtils2;
import cn.getech.data.intelligence.common.utils.Query;
import cn.getech.data.intelligence.common.exception.RRException;

import cn.getech.data.development.mapper.TableRegisterHistoryMapper;
import cn.getech.data.development.entity.TableRegisterHistoryEntity;
import cn.getech.data.development.service.TableRegisterHistoryService;


@Service("tableRegisterHistoryService")
public class TableRegisterHistoryServiceImpl extends ServiceImpl<TableRegisterHistoryMapper, TableRegisterHistoryEntity> implements TableRegisterHistoryService {

    @Override
    public PageUtils2<TableRegisterHistoryEntity> queryPage(Map<String, Object> params) {
        IPage<TableRegisterHistoryEntity> page = this.page(
                new Query<TableRegisterHistoryEntity>().getPage(params),
                new QueryWrapper<TableRegisterHistoryEntity>()
        );

        return new PageUtils2<TableRegisterHistoryEntity>(page);
    }




}
